<#escape x as jsonUtils.encodeJSONString(x)>
<#if userInfo.properties.firstName??><#assign firstName=userInfo.properties.firstName><#else><#assign firstName="{Nenurodyta}"></#if>
<#if userInfo.properties.lastName??><#assign lastName=userInfo.properties.lastName><#else><#assign lastName="{Nenurodyta}"></#if>
<#if userInfo.properties.jobtitle??><#assign jobtitle=userInfo.properties.jobtitle><#else><#assign jobtitle="{Nenurodyta}"></#if>
<#if userInfo.properties.organization??><#assign organization=userInfo.properties.organization><#else><#assign organization="{Nenurodyta}"></#if>
<#if userInfo.properties.email??><#assign email=userInfo.properties.email><#else><#assign email="{Nenurodyta}"></#if>
{
   "userInfo":
   [
        	{
            	"firstName": "${firstName}",
            	"lastName": "${lastName}",
            	"jobTitle": "${jobtitle}",
    		"organization": "${organization}",
                "email": "${email}"
        	}
   ]
}
</#escape>